<extend name="zh_tw:Public:base" />
<block name="title">
    <title>優惠券列表</title>
    
</block>
<block name="extendHead">
    <link rel="stylesheet" type="text/css" href="/Public/dist/Home/CouponPage/list.css?rev=8ce4b33bb527b09bc709ca6b5735e7ca">
    <link rel="stylesheet" type="text/css" href="/Public/jslib/toastr/2.1.2/toastr.min.css?rev=e36d7ff8c89b5bb6e9db66a169d59c47">
</block>
<block name="document">
    <div id="doc" class="container" data-islogin="{:session(C('USER_ID'))}">
        <div id="doc-body">
            <div id="coupon-list"></div>
        </div>
        <include file="zh_tw:Public:Include_login" />
    </div>
    <include file="zh_tw:Public:Include_loading" is-hidden="hidden" /> 
    <include file="zh_tw:Public:Include_coupon_modal"/>
    <!--js 使用的tag模板-->
    <script type="text/html" id="templateCouponEmpty">
        <div class="centeral-container vertical-middle-block">
            <div class="centeral-content vertical-middle-block-cell">
                <div class="col-xs-12 text-center typo-text-black-light">沒有查詢到優惠券</div>
                <div class="col-xs-12 text-center">
                    <div class="coupon-refresh btn-sm btn-link" >刷新</div>
                </div>
            </div>
        </div>
    </script>
    <script type="text/html" id="templateCouponList">
        <a class="horizontal-coupon">
            <div class="fixed-left-container vertical-padding coupon-detail">
                <div class="fixed-left coupon-draw couponback">
                    <div class="coupon-price hidden">{$defaultSymbol}<span></span></div>
                    <div class="coupon-discount hidden"><span></span>折</div>
                    <div class="coupon-use"></div>
                </div>
                <div class="horizontal-padding-sm">
                    <div class="nowrap-content text-lm text-height typo-text-black-deep coupon-name"><span class="coupon-type"></span><span class="info"></span></div>
                    <div class="nowrap-content text-sm text-height typo-text-black-deep coupon-desc"></div>
                    <div class="nowrap-content text-sm text-height typo-text-white-light coupon-data"></div>
                </div>
            </div>
        </a>  
    </script>
</block>
<block name="extendFootJs">
    <script type="text/javascript" src="/Public/jslib/jquery-lazyload/1.9.5/jquery.lazyload.min.js?rev=6a039cfdf0ce9f477300675c0b167670"></script>
    <script type="text/javascript" src="/Public/jslib/toastr/2.1.2/toastr.min.js?rev=1778e466055d4a265993e979c174c338"></script>
    <script type="text/javascript" src="/Public/jslib/layer/layer.js?rev=1778e466055d4a265993e979c174c338"></script>
    <script type="text/javascript" src="/Public/dist/Home/CouponPage/entry.js?rev=b1f9585abe676cfbcafa48d285954ec3"></script>
</block>

